<div id="site_nav">
    <div class="sn_container clearfix">
        <ul class="tg_tools fr">
            <li class="no-hover">
                <a class="head_pay_btn" href="">充值</a>
            </li>
            <li style="display: none" class="no-hover">
                <a href="/Member/message.html" class="msg_notify" id="msg_notify"></a>
            </li>
            <li class="box_color nav_home">
                <span><a href="/Member/info.html">个人中心</a></span><b class="icon"></b>
                <ul>
                    <li><a href="/Member/info.html"><span>我的主页</span></a></li>
                    <li><a href="/Member/set.html"><span>个人设置</span></a></li>
                    <li><a href="/Member/downloads.html"><span>下载记录</span></a></li>
                    <li><a href="/Member/collects.html"><span>我的收藏</span></a></li>
                    <li><a href="/Member/sign.html"><span>我的签到</span></a></li>
                    <li><a href="/Download/logout?r="><span>退出登录</span></a></li>
                </ul>
            </li>
            <li class="tg-line icon"></li>
            <li class="box_color">
                <span>帮助中心</span><b class="icon"></b>
                <ul>
                    <li><a href="/help/template"><span>扒模板</span></a></li>
                    <li><a href="/help/points"><span>积分获取</span></a></li>
                    <li><a href="/help/contact"><span>联系我们</span></a></li>
                    <li><a href="/help/index"><span>关于我们</span></a></li>
                    <li><a href="/help/job"><span>招纳贤士</span></a></li>
                </ul>
            </li>
        </ul>
        <ul id="login_area" class="tg_tools fl" style="display: block;">

            <li class="tg_tools_home no-hover"><i class="icon-more"></i><span><a href="">天地中文网</a></span></li>
            <if condition="session('uid')">
                <li class="no-hover haslogin"><span><a href="__MODULE__/member/index/id/{$Think.session.uid}"><font id="head_username" class="sn_login username">{$Think.session.username}</font></a></span></li>
                <li class="tg-line icon"></li>
                <li class="no-hover haslogin"><span><a href="__MODULE__/Account/logout">退出</a></span></li>
            <else />
                <li class="no-hover nologin"><span><a href="/Index/login/type/qq.html"><img alt="Connect_logo_6.png" src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_6.png" style="position: relative;top:3px;"></a></span></li>
                <li class="tg-line icon"></li>
                <li class="no-hover nologin"><span><a href="__MODULE__/Account/reg">注册</a></span></li>
                <li class="box_color nav_home" id="nav_login">
                    <span><a href="__MODULE__/Account/login" class="sn_login">登录</a></span><b class="icon"></b>
                    <ul>
                        <li><a href="/Index/login/type/sina.html"><span>新浪微博</span></a></li>
                        <li><a href="/Index/login/type/renren.html"><span>人人网<i style="visibility: hidden">站</i></span></a></li>
                    </ul>
                </li>
            </if>
        </ul>
    </div>
</div>
<div id="header">
    <div class="tg_tools_home">
        <div class="bbs_enter">
            <a class="bbs-banner" href="/Member/pay.html" target="_blank"><img src="" alt=""></a>
        </div>
        <div class="logo">
            <a class="logo-bd" href="/"><img src="__PUBLIC__/Home/images/wen/logo.png" alt=""></a>
        </div>
        <form action="/search.html" method="GET" id="form_search" onsubmit="return searchSub()">
            <div id="search">
                <div class="search_area">
                    <input value="搜 索" class="btn_search" type="submit">
                    <div class="search_select">
                        <span class="icon-search"></span>
                    </div>
                    <input value="请输入搜索内容" class="search_input" autocomplete="off" id="search_input" data-default="请输入搜索内容" onblur="checkInputBlur($(this))" onfocus="checkInputFocus($(this))" type="text">
                    <input name="keyword" type="hidden">
                </div>
                <div class="search_box hide" id="search_box"></div>
                <div class="search_keywords">
                    <span>热门搜索：</span>
                    <a href="/search/search.html?keyword=%E6%89%8B%E6%9C%BA" class="red">科幻</a>
                    <a href="/js/8-0-0-0"></a>
                    <a href="/search/search.html?keyword=bootstrap"></a>
                    <a href="/search/search.html?keyword=%E5%90%8E%E5%8F%B0"></a>
                    <a href="/search/search.html?keyword=%E4%B8%8A%E4%BC%A0" class="red"></a>
                    <a href="/search/search.html?keyword=%E8%B4%AD%E7%89%A9%E8%BD%A6"></a>
                    <a href="/js/106-0-0-0" class="red"></a>
                    <a href="/search/search.html?keyword=%E5%BC%B9%E5%87%BA%E5%B1%82"></a>
                </div>
            </div>
        </form>
    </div>
</div>
<div id="nav" class="nav">
    <div class="nav_main clearfix">
        <a href="__APP__" class="menu <if condition="$curr">current</if>">首 页</a>
        <volist name="cateres" id="vo">
        <a href="__MODULE__/<if condition="$vo['type'] eq 1">List<elseif condition="$vo['type'] eq 2" />Page<else />Topic</if>/index/cateid/{$vo.id}" class="menu <if condition="$current eq $vo['id'] || $topId eq $vo['id']">current</if>">{$vo.catename}</a>
        </volist>
        <span class="icon_hot"></span>
    </div>
</div>